package com.vanceinfo;

import java.util.Scanner;

public class Judgment {
	public static void main(String[] args){
		char[] vowels={'a','e','i','o','u','A','E','I','O','U'};
		Scanner s1 = new Scanner(System.in);
		System.out.print("please enter your letter: ");
		String letter = s1.next();
		for(int i=0;i<10;i++){
			if(letter.equals(vowels[0])||letter.equals(vowels[1])||letter.equals(vowels[2])||letter.equals(vowels[3])||letter.equals(vowels[4])||letter.equals(vowels[5])||letter.equals(vowels[6])||letter.equals(vowels[7])||letter.equals(vowels[8])||letter.equals(vowels[9])){
				System.out.println("the letter is a vowel.");
				i++;
			}
			else{
				System.out.println("the letter is not a vowel.");
			}
		}
		
	
	}
}
